package client.gin;

import com.google.gwt.core.client.GWT;
import com.google.gwt.event.shared.EventBus;
import com.google.gwt.inject.client.GinModules;
import com.google.gwt.inject.client.Ginjector;
import net.customware.gwt.dispatch.client.DispatchAsync;
import net.customware.gwt.dispatch.client.gin.StandardDispatchModule;

/**
 * @author vinakov
 */
@GinModules({AppGinModule.class,
        StandardDispatchModule.class})
public interface AppGinjector extends Ginjector{
    public static final AppGinjector INSTANCE = GWT.create(AppGinjector.class);
    EventBus getEventBus();
    DispatchAsync getDispatcher();
}
